<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>捕获全局异常</title>
</head>
<body>
   <h1 style="color:red;" align="center">发生错误！</h1>
   <div th:text="${url}"></div>
   <div th:text="${exception.message}"></div>
</body>
</html>